package com.hxrfid.system.domain.bo;

import com.hxrfid.common.core.domain.BaseEntity;
import com.hxrfid.common.core.validate.AddGroup;
import com.hxrfid.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 系统模板菜单业务对象
 *
 * @author ruoyi
 * @date 2022-11-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysTempMenuBo extends BaseEntity {

    /**
     * 模板ID
     */
    @NotNull(message = "模板ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tempId;

    /**
     * 菜单ID
     */
    @NotNull(message = "菜单ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long menuId;


}
